
import request from "@/utils/request"

const login = (data) => {
    return request({
        url: `api/user/login`,
        method: 'post',
        data

    })
}
const register= (data) => {
    return request({
        url: `api/user/register`,
        method: 'post',
        data

    })
}

export {login, register}